<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>今日待办悬浮信息框</title>
    <link rel="stylesheet" href="../common/css/reset.css" />
  </head>
  <body>
    <style>
      #todoBoxKF,
      #todoBoxSW {
        position: fixed;
        bottom: 15vh;
        right: 40px;
        z-index: 1000;
      }
      #todoBoxKF .todo-content,
      #todoBoxSW .todo-content {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: 1px solid #d81e06;
        text-align: center;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        line-height: 1.5;
        color: #d81e06;
      }
      #todoBoxKF .todo-content:hover,
      #todoBoxSW .todo-content:hover {
        background-color: #d81e06;
        color: #fff;
      }
      #todoBoxKF .todo-text,
      #todoBoxSW .todo-text {
        font-size: 12px;
      }
      #todoBoxKF .todo-num,
      #todoBoxSW .todo-num {
        font-size: 14px;
        font-weight: bold;
      }
      /* 提示框 */
      #kefu_remind.dialog-container {
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.6);
        position: fixed;
        left: 0;
        top: 0;
      }
      #kefu_remind .dialog-content {
        width: 70vw;
        height: 650px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        border-radius: 4px;
        overflow: hidden;
      }
      #kefu_remind .dialog-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 24px;
        background: #d81e06;
        color: #fff;
        height: 40px;
      }
      #kefu_remind .dialog-body {
        padding: 24px;
        height: calc(100% - 60px);
        overflow: auto;
      }
      #kefu_remind .button-close {
        font-size: 18px;
        cursor: pointer;
      }
      #kefu_remind .search-box .form {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
      }
      #kefu_remind .form-item {
        margin-right: 20px;
        margin-bottom: 6px;
      }
      #kefu_remind .form-item:last-child {
        margin-right: 0;
      }
      #kefu_remind input {
        height: 24px;
      }
      #kefu_remind select {
        width: 100px;
        height: 24px;
      }
      #kefu_remind .table-box {
        margin-top: 12px;
      }
      #kefu_remind .search-box .button {
        height: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 12px;
        border: 1px solid #d81e06;
        text-decoration: none;
        border-radius: 4px;
      }

      #kefu_remind table {
        width: 100%;
      }
      #kefu_remind tr {
        border: 1px solid #ddd;
      }
      #kefu_remind th,
      #kefu_remind td {
        padding: 10px 8px;
        text-align: center;
      }
      #kefu_remind .button {
        color: #d81e06;
        cursor: pointer;
        text-decoration: underline;
      }
      #kefu_remind .button:hover {
        opacity: 0.8;
      }
      #kefu_remind .pagination ul {
        display: flex;
        justify-content: flex-end;
        margin-top: 20px;
      }
      #kefu_remind .pagination ul li {
        margin-right: 6px;
        cursor: pointer;
      }
      #kefu_remind .pagination ul li:last-child {
        margin-right: 0;
      }
      #kefu_remind .pagination ul li:hover {
        color: #d81e06;
        text-decoration: underline;
      }
      #kefu_remind .pagination ul li.active {
        color: #d81e06;
      }

      /* 商务 */
      #todoBoxSW .hover-box {
        display: none;
        position: absolute;
        bottom: 0;
        right: 70px;
        padding: 24px 16px;
        border: 1px solid #d81e06;
        border-radius: 4px;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
      }
      #todoBoxSW:hover .hover-box {
        display: block;
      }
      #todoBoxSW .hover-box::after {
        content: "";
        position: absolute;
        bottom: 25px;
        right: -6px;
        border: 1px solid #d81e06;
        width: 10px;
        height: 10px;
        transform: rotate(45deg);
        background-color: #ffffff;
        border-bottom-color: transparent;
        border-left-color: transparent;
      }
      #todoBoxSW .toto-list {
        max-width: 60vw;
        max-height: 60vh;
        overflow: auto;
      }
      #todoBoxSW .todo-item {
        text-align: left;
        white-space: nowrap;
        margin-bottom: 10px;
        font-size: 14px;
        color: #333;
        line-height: 20px;
      }
    </style>
    <!-- 客服 -->
    <div id="todoBoxKF" class="todo-box">
      <div class="todo-content">
        <p class="todo-text">今日待办</p>
        <p class="todo-num">65</p>
      </div>
      <!-- 运营提示框 -->
      <div class="dialog-container" id="kefu_remind">
        <div class="dialog-content">
          <div class="dialog-header">
            <h5>今日待办</h5>
            <div class="button button-close">×</div>
          </div>
          <div class="dialog-body">
            <div class="search-box">
              <div class="form">
                <div class="form-item">
                  <label for="search">事件类型:</label>
                  <select name="type">
                    <option value="">请选择</option>
                    <option value="1">生日</option>
                    <option value="2">入职</option>
                    <option value="3">其他</option>
                  </select>
                </div>
                <div class="form-item">
                  <label for="search">公司:</label>
                  <input type="text" name="company" />
                </div>
                <div class="form-item">
                  <label for="search">联系人:</label>
                  <input type="text" name="contact" />
                </div>
                <div class="form-item">
                  <div class="button">查询</div>
                </div>
              </div>
            </div>
            <div class="table-box">
              <table>
                <thead>
                  <tr>
                    <th>公司</th>
                    <th>联系人</th>
                    <th>事件</th>
                    <th>事件日期</th>
                    <th>回访操作</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td>xxxx公司</td>
                    <td>xxxxx</td>
                    <td>生日</td>
                    <td>2023-05-16 10:00</td>
                    <td>
                      <div class="button">回访</div>
                    </td>
                  </tr>
                  <tr>
                    <td>xxxx公司</td>
                    <td>xxxxx</td>
                    <td>生日</td>
                    <td>2023-05-16 10:00</td>
                    <td>
                      <div class="button">回访</div>
                    </td>
                  </tr>
                  <tr>
                    <td>xxxx公司</td>
                    <td>xxxxx</td>
                    <td>生日</td>
                    <td>2023-05-16 10:00</td>
                    <td>
                      <div class="button">回访</div>
                    </td>
                  </tr>
                  <tr>
                    <td>xxxx公司</td>
                    <td>xxxxx</td>
                    <td>生日</td>
                    <td>2023-05-16 10:00</td>
                    <td>
                      <div class="button">回访</div>
                    </td>
                  </tr>
                  <tr>
                    <td>xxxx公司</td>
                    <td>xxxxx</td>
                    <td>生日</td>
                    <td>2023-05-16 10:00</td>
                    <td>
                      <div class="button">回访</div>
                    </td>
                  </tr>
                  <tr>
                    <td>xxxx公司</td>
                    <td>xxxxx</td>
                    <td>生日</td>
                    <td>2023-05-16 10:00</td>
                    <td>
                      <div class="button">回访</div>
                    </td>
                  </tr>
                  <tr>
                    <td>xxxx公司</td>
                    <td>xxxxx</td>
                    <td>生日</td>
                    <td>2023-05-16 10:00</td>
                    <td>
                      <div class="button">回访</div>
                    </td>
                  </tr>
                  <tr>
                    <td>xxxx公司</td>
                    <td>xxxxx</td>
                    <td>生日</td>
                    <td>2023-05-16 10:00</td>
                    <td>
                      <div class="button">回访</div>
                    </td>
                  </tr>
                  <tr>
                    <td>xxxx公司</td>
                    <td>xxxxx</td>
                    <td>生日</td>
                    <td>2023-05-16 10:00</td>
                    <td>
                      <div class="button">回访</div>
                    </td>
                  </tr>
                  <tr>
                    <td>xxxx公司</td>
                    <td>xxxxx</td>
                    <td>生日</td>
                    <td>2023-05-16 10:00</td>
                    <td>
                      <div class="button">回访</div>
                    </td>
                  </tr>
                </tbody>
              </table>
              <div class="pagination">
                <ul>
                  <li>首页</li>
                  <li>上一页</li>
                  <li class="active">1</li>
                  <li>2</li>
                  <li>3</li>
                  <li>4</li>
                  <li>5</li>
                  <li>6</li>
                  <li>下一页</li>
                  <li>尾页</li>
                </ul>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- 商务 -->
    <!-- <div id="todoBoxSW" class="todo-box">
      <div class="todo-content">
        <p class="todo-text">今日待办</p>
        <p class="todo-num">65</p>
        <div class="hover-box">
          <div class="todo-list">
            <div class="todo-item">今日新增2C客户数量C客户数量：xx个</div>
            <div class="todo-item">今日未回访2C客户数量：xx个</div>
            <div class="todo-item">今日新增2C客户数量：xx个</div>
            <div class="todo-item">今日新增2C客户数量：xx个</div>
            <div class="todo-item">今日添加客户：xx个</div>
            <div class="todo-item">今日添加客户：xx个</div>
            <div class="todo-item">今日添加客户：xx个</div>
          </div>
        </div>
      </div>
    </div> -->
  </body>
</html>
